﻿using System.Collections;

namespace CoolCode.Caching
{
    public  interface ICache :ICacheStrategy , IEnumerable
    {
        object this[string key] { get; set; }
        void Insert(string key, object value, ICacheDependency dependency);
        void Insert(string key, object value, int seconds);
    }
}
